home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
Aztec C 5.0a disk 1.adf
/
include
/
devices
/
timer.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-05
|
429b
|
21 lines
#ifndef DEVICES_TIMER_H
#define DEVICES_TIMER_H
#ifndef EXEC_IO_H
#include "exec/io.h"
#endif /* EXEC_IO_H */
#define UNIT_MICROHZ 0L
#define UNIT_VBLANK 1L
#define TIMERNAME "timer.device"
struct timeval {
ULONG tv_secs;
ULONG tv_micro;
};
struct timerequest {
struct IORequest tr_node;
struct timeval tr_time;
};
#define TR_ADDREQUEST CMD_NONSTD
#define TR_GETSYSTIME (CMD_NONSTD+1)
#define TR_SETSYSTIME (CMD_NONSTD+2)
#endif